package com.atm.bulksms.data;

import android.net.Uri;
import android.provider.BaseColumns;

public class BulkSMSData {

	public static final String INBOX_MESSAGE_TABLE_NAME = "INBOX";
	public static final String INBOX_HEADER_TABLE_NAME = "HEADER";
	public static final String GROUP_TABLE_NAME = "SMS_GROUP";
	public static final String SMS_SCHEDULE_TABLE_NAME = "SMS_GROUP";
	public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.bulksms";
	public static final String AUTHORITY = "com.atm.bulksms.providers.BulkSMSContentProvider";
	

	public static final class SMSData implements BaseColumns {
		public static final Uri CONTENT_URI = Uri.parse("content://"
				+ AUTHORITY + "/" + INBOX_MESSAGE_TABLE_NAME);
		public static final String MESSAGE = "message";
		public static final String RECEPIENT = "recepient";
		public static final String STATUS = "status";
		public static final String SENT_TIME = "sentTime";
		public static final String START_TIME = "startTime";
	}
	
	public static final class InboxData implements BaseColumns {
		public static final Uri CONTENT_URI = Uri.parse("content://"
				+ AUTHORITY + "/" + INBOX_HEADER_TABLE_NAME);
		public static final String NAME = "name";
		public static final String DESCRIPTION = "description";
		public static final String START_TIME = "startTime";
	}
	
	public static final class GroupData implements BaseColumns {
		public static final Uri CONTENT_URI = Uri.parse("content://"
				+ AUTHORITY + "/" + GROUP_TABLE_NAME);
		public static final String GROUP_NAME = "groupName";
		public static final String PHONE_NUMBER = "phoneNo";
	}
	
	public static final class ScheduleData implements BaseColumns {
		public static final Uri CONTENT_URI = Uri.parse("content://"
				+ AUTHORITY + "/" + SMS_SCHEDULE_TABLE_NAME);
		public static final String MESSAGE = "message";
		public static final String TIME = "time";
		public static final String NUMBERS = "numbers";
		
	}

}
